<?php

namespace app\common\validate\gaokao;

use app\common\validate\BaseValidate;

class Zhiyuan extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'type|项目类型' => 'require|in:baoming,qiangji,zonghe,all',
        'stu_type|考生类型' => 'require|in:wen,li,art,other,spo',
        'area_code|所在地区' => 'require',
        'area_text|所在地区' => 'require',
        'school|就读学校' => 'require',
        'grade|就读年级' => 'require|in:1,2,3',
        'identy|身份' => 'require|in:1,2,3,4',
        'name|姓名' => 'require|min:1|max:32',
        'mobile|手机号码' => 'require|isMobile',
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];
    
}
